package summer_vacation.zengguangchuan;

import java.sql.Array;
import java.util.Arrays;

/**作业9
 * Created by lenovo0 on 2015/8/25.
 */
public class Assignment_7 {
    public static void main(String[] args) {
        int[] i = {4, 7,2,5, 9, 6};
        Arrays.sort(i);
        System.out.println("排序后的顺序：");
        for(int a=1;a<=6;a++){
            System.out.println(""+i[a]);
        }
    }
}
